package com.lzj.demo.design.template.fzw;

import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

@Slf4j
public class TestNetMail {
    @Test
    public void test01(){
        NetMail tMallNetMail = new TMALLNetMail(10001L,"*****");
        String base64 = tMallNetMail.generateGoodsPoster("https://www.taobao.com/");
        log.info("测试结果:{}",base64);

        NetMail jdNetMail = new JDNetMail(10002L,"*****");
        base64 = jdNetMail.generateGoodsPoster("https://www.jd.com/");
        log.info("测试结果:{}",base64);
    }
}
